package com.sgcc.operate.domain;

import java.util.Date;

import com.alibaba.fastjson.JSONArray;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 活动模板应用对象 o_acti_apply
 * 
 * @author sgcc
 * @date 2021-03-31
 */
public class OActiApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private String id;

    /** 活动模板主键 */
    @Excel(name = "活动模板主键")
    private String tempId;

    /** 活动主键 */
    @Excel(name = "活动主键")
    private String actiId;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String title;

    /** 虚拟的参与人数 */
    @Excel(name = "虚拟的参与人数")
    private Long nPart;

    /** 活动说明 */
    @Excel(name = "活动说明")
    private String explain;

    /** 微信二维码图片的保存路径 */
    @Excel(name = "微信二维码图片的保存路径")
    private String wxCode;

    /** 预览H5连接 */
    @Excel(name = "预览H5连接")
    private String h5Link;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;


    private Boolean npartShow = false;
    private Boolean drawNumShow = false;
    private String cutline;     //切割线
    private String titleUrl;    //标题图片
    private String turntableUrl;   //转盘图片
    private String activityUrl;    //活动图片
    private JSONArray activityUrls;    //活动图片
    private String resultUrl;     //谢谢参与图片


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTempId(String tempId) 
    {
        this.tempId = tempId;
    }

    public String getTempId() 
    {
        return tempId;
    }
    public void setActiId(String actiId) 
    {
        this.actiId = actiId;
    }

    public String getActiId() 
    {
        return actiId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setnPart(Long nPart) 
    {
        this.nPart = nPart;
    }

    public Long getnPart() 
    {
        return nPart;
    }
    public void setExplain(String explain) 
    {
        this.explain = explain;
    }

    public String getExplain() 
    {
        return explain;
    }
    public void setWxCode(String wxCode) 
    {
        this.wxCode = wxCode;
    }

    public String getWxCode() 
    {
        return wxCode;
    }
    public void setH5Link(String h5Link) 
    {
        this.h5Link = h5Link;
    }

    public String getH5Link() 
    {
        return h5Link;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Boolean getNpartShow() {
        return npartShow;
    }

    public void setNpartShow(Boolean npartShow) {
        this.npartShow = npartShow;
    }

    public Boolean getDrawNumShow() {
        return drawNumShow;
    }

    public void setDrawNumShow(Boolean drawNumShow) {
        this.drawNumShow = drawNumShow;
    }

    public String getCutline() {
        return cutline;
    }

    public void setCutline(String cutline) {
        this.cutline = cutline;
    }

    public String getTitleUrl() {
        return titleUrl;
    }

    public void setTitleUrl(String titleUrl) {
        this.titleUrl = titleUrl;
    }

    public String getTurntableUrl() {
        return turntableUrl;
    }

    public void setTurntableUrl(String turntableUrl) {
        this.turntableUrl = turntableUrl;
    }

    public String getActivityUrl() {
        return activityUrl;
    }

    public void setActivityUrl(String activityUrl) {
        this.activityUrl = activityUrl;
    }

    public String getResultUrl() {
        return resultUrl;
    }

    public void setResultUrl(String resultUrl) {
        this.resultUrl = resultUrl;
    }

    public JSONArray getActivityUrls() {
        return activityUrls;
    }

    public void setActivityUrls(JSONArray activityUrls) {
        this.activityUrls = activityUrls;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tempId", getTempId())
            .append("actiId", getActiId())
            .append("title", getTitle())
            .append("nPart", getnPart())
            .append("explain", getExplain())
            .append("wxCode", getWxCode())
            .append("h5Link", getH5Link())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
